import request from '@/util/request'
import baseUrl from './base'

export function insertErpCustomer(data) {
  return request({
    url: baseUrl + '/erp/customer/insert',
    method: 'post',
    data
  })
}

export function listErpCustomer(data) {
  return request({
    url: baseUrl + '/erp/customer/list',
    method: 'post',
    data
  })
}

export function deleteErpCustomer(data) {
  return request({
    url: baseUrl + '/erp/customer/delete',
    method: 'post',
    data
  })
}

export function getErpCustomer(data) {
  return request({
    url: baseUrl + '/erp/customer/get',
    method: 'post',
    data
  })
}

export function updateErpCustomer(data) {
  return request({
    url: baseUrl + '/erp/customer/update',
    method: 'post',
    data
  })
}

